package com.witmed.lib_http

/*import com.witmed.lib_http.entity.UserEntity
import com.witmed.lib_http.entity.VideoList*/
import okhttp3.RequestBody
import okhttp3.internal.cache.CacheStrategy
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Headers
import retrofit2.http.POST
import retrofit2.http.Query

interface ApiService {

   /* @POST("user/register")
    suspend fun register(@Query("username")username:String,@Query("password")password:String
    ):ResponseData<UserEntity>*/

    @POST("user/createCode")
    suspend fun sendRegCode(@Query("phone")phone:String):ResponseData<String>

   /* @POST("user/registerCode")
    suspend fun registerCode(@Body body: RequestBody):ResponseData<UserEntity>

    @POST("user/login")
    suspend fun login(@Query("username")username:String,@Query("password")password:String):ResponseData<UserEntity>

    @GET("videomulti/getRecommendMutilVideo")
    suspend fun videoList(@Query("page")page:Int,@Query("pagesize")pagesize:Int):ResponseData<VideoList>*/
}